package com.ruoyi.generateTest.controller;

import com.ruoyi.generateTest.utils.GenerateQuestionsUtil;
import com.ruoyi.generateTest.utils.ModifyDocFormatUtil;

import java.io.File;

/**
 * @author lmy
 * @date 2024/7/30 22:32
 */
public class TestController {

    public static void main(String[] args) throws Exception {

//        System.out.println(GenerateQuestionsUtil.SingleTalks(
//                new File("C:\\Users\\86135\\Desktop\\考试系统项目\\焊接检验.docx"),
//                "111",
//                2,
//                2,
//                1,
//                0,
//                0,
//                0,
//                1));

        String filepath = "C:\\Users\\86135\\Desktop\\考试系统项目\\焊接检验.docx";
        String savePath = "C:\\Users\\86135\\Desktop\\考试系统项目\\output.docx";
        String skipParagraphs = "22";
        String fontName = "宋体";
        String chineseFontName = "宋体";
        String fontSize = "16";
        String lineSpacing = "1";
        String line_spacing_rule = "0";

//        ModifyDocFormatUtil.ModifyDocFormat(
//                filepath,
//                savePath,
//                skipParagraphs,
//                fontName,
//                chineseFontName,
//                fontSize,
//                lineSpacing,
//                line_spacing_rule
//        );


    }
}
